package Deom1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2023-11-16
 * Time: 13:33
 */
public abstract class Animal {
    public String name;

    //构造方法
    public Animal(String name) {
        this.name = name;
    }
    //抽像方法方法
    public abstract void bark();

}


